package com.home;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import springfox.documentation.swagger2.annotations.EnableSwagger2WebMvc;

@SpringBootApplication
@Slf4j
@MapperScan("com.home.mapper")
@EnableSwagger2WebMvc
public class TemplateDemoApplication {
    public static void main(String[] args) {
        SpringApplication.run(TemplateDemoApplication.class, args);
        log.info("服务已启动...");
        log.info("本地接口文档地址：http://localhost:8080/doc.html");
    }
}
